package fire.gui;

import jgame.JGColor;
import jgame.JGFont;
import jgame.JGObject;
import jgame.platform.JGEngine;

public class Dialog extends JGObject {

	private JGFont font;

	public Dialog(double x, double y) {
		super("myobject", true, x, y, 2000, null);
		font = new JGFont("Arial", 0, 20);
	}

	@Override
	public void paint(JGEngine g) {
		g.drawImage(0, g.getSize().height - g.getImage("dialog").getSize().y,
				"dialog", false);
//		g.drawString("ban nha tra no", 80, g.getSize().height - 100, -1);
		g.drawString("ban nha tra no", 80, g.getSize().height - 100, -1, false, font, JGColor.black);
	}

	@Override
	public void move() {
	}
}
